package com.gxa.ibear.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-11-21
 */
@Getter
@Setter
@TableName("tb_empl")
@ApiModel(value = "Empl对象", description = "")
public class Empl implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "empl_id", type = IdType.AUTO)
    private Integer emplId;

    @TableField("empl_name")
    private String emplName;

    @TableField("empl_phone")
    private String emplPhone;

    @TableField("empl_pwd")
    private String emplPwd;

    @ApiModelProperty("创建时间")
    @TableField("last_created")
    private LocalDateTime lastCreated;

    @ApiModelProperty("角色 2商家 1管理员")
    @TableField("empl_type")
    private Integer emplType;

    @ApiModelProperty("账号状态 默认0 禁用 1已开通")
    @TableField("empl_status")
    private Integer emplStatus;

    @ApiModelProperty("商家地区")
    @TableField("empl_address")
    private String emplAddress;


}
